//
//  ZHWCycleView.h
//  轮播图封装
//
//  Created by dllo on 16/5/26.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ZHWCycleViewDelegate <NSObject>

@required

@optional
- (void)didClickedItemAtIndexPath:(NSIndexPath *)indexPath;

@end


@interface ZHWCycleView : UIView

/** 代理人 */
@property (nonatomic, assign)id<ZHWCycleViewDelegate>delegate;
// 声明初始化方法:
- (instancetype)initWithFrame:(CGRect)frame
                   DataSource:(NSArray *)dataSource
                 TimeInterval:(CGFloat)time;

- (void)reloadDataByArray:(NSMutableArray *)dataSource;

@end
